/**
 * 
 */
package edu.co.uniandes.taller14.ejb;

import java.rmi.RemoteException;
import java.util.Collection;

import javax.ejb.EJBObject;
import javax.ejb.FinderException;

public interface Directorio extends EJBObject {

	public  Directorio findEmpleado(String nombre) throws FinderException, RemoteException;
	public  Collection findEmpleados() throws FinderException, RemoteException;
	public abstract void setExtension(String extension) throws RemoteException;
	public abstract void setOficina(String oficina) throws RemoteException;
	public abstract void setDepartamento(String departamento) throws RemoteException;
	public abstract void setNombre(String nombre) throws RemoteException;
	public abstract void setDirectorioID(String directorioID) throws RemoteException;
	
	public abstract String getExtension() throws RemoteException;
	public abstract String getOficina() throws RemoteException;
	public abstract String getDepartamento() throws RemoteException;
	public abstract String getNombre() throws RemoteException;
	public abstract String getDirectorioID() throws RemoteException;

	
}
